package galaxy.auth.provider.dto.reponse;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class ResponseBean<T> implements Serializable {

    private   static final long serialVersionUID=1L;

    @ApiModelProperty("状态码")
    private  int  code = 200;
    @ApiModelProperty("是否成功")
    private boolean  success;
    @ApiModelProperty("消息")
    private   String  message;
    @ApiModelProperty("数据")
    private   T data;

}
